function get_user_info($loginid)
{
    $session = New-Object Microsoft.PowerShell.Commands.WebRequestSession
    $session.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
    $res = Invoke-WebRequest -UseBasicParsing -Uri "http://10.12.129.144:8096/api/datas/checkUserdata/" `
    -Method "POST" `
    -WebSession $session `
    -Headers @{
    "Accept-Encoding"="gzip, deflate"
    "Origin"="http://localhost:3000"
    "Referer"="http://localhost:3000/"
    "accept"="application/json, text/plain, */*"
    "accept-language"="zh-CN,zh;q=0.9"
    } `
    -ContentType "application/json;charset=UTF-8" `
    -Body "{`"loginid`":`"$loginid`"}"
 
    return $res.Content
}
 
get_user_info $args[0]
